package top.csy8888.work1.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.csy8888.work1.entity.City;
import top.csy8888.work1.mapper.CityMapper;
import top.csy8888.work1.service.CityService;

import java.util.List;

/**
 * @author CSY
 * @date 2025 - 09 - 12
 */
@Service
public class CityServiceImpl implements CityService {
    @Autowired
    private CityMapper cityMapper;

    @Override
    public List<City> listCity(Integer pageNum, Integer pageSize) {
        return cityMapper.listCity(pageNum, pageSize);
    }
}
